package com.qf.service;

import cn.hutool.core.lang.tree.Tree;
import com.qf.entity.ProductCategory;

import java.util.List;

/**
 * --- 万物归集  不随你我 ---
 * <p>
 * 快捷短语
 * main ==  public static void main(String[] args);
 * sout ==  System.out.println();
 *
 * @author shuhan
 * @date 2025/4/29
 * @desc
 */
public interface ProductCategoryService {

    List<Tree<String>> list();

    void delete(Integer id);

    void add(ProductCategory productCategory);

    String findNameById(Integer id);

    void update(ProductCategory productCategory);
}
